@import '../../styles/default.scss';

.air-order-page {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  height: 100vh;
  background-color: $color-bg;
  .order-content{
    height: calc(100vh - 120px);
    overflow-y: scroll;
    .address-content, .mid-content{
      background-color: #fff;
      padding: 0 30px;
      margin-top: 8px;
    }
    .line-content{
      height: 80px;
      width: 90%;
      margin: 20px auto;
      margin-bottom: 50px;
      padding: 10px;
      padding-top: 0;
      background-color: $color-white;
      border-radius: 10px;
      position: relative;
      &-tip{
        margin-top: 30px;
      }
    }
    .mid-content{
      margin-top: 30px;
      padding-bottom: 40px;
      .mid-line-content{
        margin: 30px 0;
        border-radius: 8px;
        border: 1px solid $color-main;
        .mid-item{
          min-height: 80px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          position: relative;
          font-size: $font-15;
          padding: 10px 20px;
          border-bottom: 1px solid rgba($color: $color-main, $alpha: 0.7);
          &-left{
            display: flex;
            align-items: center;
            &-img{
              @include wh(11PX, 11PX);
              margin-right: 10px;
            }
          }
          &-right{
            min-width: 280px;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            &-radio{
              width: 300px;
              display: flex;
              justify-content: space-between;
              align-items: center;
              
            }
            &-tip{
              margin-top: 6px;
              font-size: $font-10;
              color: $font-color-light;
            }
          
          }
        }
        .mid-item-baseline{
          align-items: baseline;
        }
        .mid-item-right-extra{
          position: absolute;
          right: 30px;
          width: 80vw;
          margin: 10px 0;
          display: flex;
          justify-content: space-around;
          align-items: center;
          background-color: $color-bg;
          .radio-item{
            font-size: $font-10;
          }
        }
      }
      .time-content{
        display: flex;
        align-items: flex-start;
        .time-content-item{
          min-width: 160px;
          margin: 20px 10px;
          border: 1px solid $color-main;
          border-radius: 10px;
          font-size: $font-10;
          overflow: hidden;
        }
        &-title{
          height: 40px;
          line-height: 40px;
          padding: 5px;
          color: $color-white;
          background-color: $color-main;
        }
        &-text{
          height: 60px;
          line-height: 60px;
          padding: 0 10px;
          font-size: $font-15;
          color: $font-color-dark;
        }
      }
    }
    
  }
 
  .bottom-content{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background-color: #fff;
    border-top: 1PX solid $color-bg;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 6;
    &-left{
      font-size: $font-15;
      font-weight: bold;
      display: flex;
      align-items: center;
      .left-money{
        margin: 0 10px;
        color: $color-main;
        font-size: $font-22;
        font-weight: normal;
      }
      .left-detail{
        display: flex;
        align-items: flex-end;
        padding-left: 20px;
        border-left: 4px solid $tag-bg;
      }
      .bottom-arrow-down{
        width: 0;
        height: 0;
        border: 12px solid transparent;
        border-top-color: black ;
        margin-left: 8px;
      }
      .bottom-arrow-up{
        margin-bottom: 12px;
        border-top-color: #fff;
        border-bottom-color: black ;
      }
    }
  }
}

.modal-extra-content{
  color: $color-dark;
  text-align: left;
  text-indent: 40px;
  .modal-bottom{
    display: flex;
    align-items: center;
    margin-top: 10px;
    .modal-check{
      background-image: url('../../assets/checked_off.png');
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      @include wh(30px, 30px);
      margin-right: 10px;
    }
    .check-active{
      background-image: url('../../assets/checked.png');
    }
  }
}

.time-tip{
  font-size: $font-12;
  color: red;
  text-align: right;
}

.tra-btn{
  margin-bottom: 20px;
}

.detail-modal{
  height: calc(100% - 120px);
}

.extra-content{
  margin-top: 100px;
  margin-bottom: 20px;
  font-size: $font-20;
  font-weight: bold;
  color: $font-color-base;
  text-align: center;
  &-img{
    @include wh(125PX, 122PX);
    @include bg('../../assets/icon_tihuo.png');
    margin: 20px auto;
  }
  .place-order-img{
    @include wh(150PX, 130PX);
    @include bg('../../assets/icon_order_place.png');
  }
}
.extra-btns{
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.forbid-modal-content{
  width: 100%;
  height: 600px;
  padding: 0;
  padding-top: 20px;
  background-color: #fff;
  position: relative;
  margin-bottom: 50PX;
}

.forbid-btn-content{
  width: 100%;
  position: relative;
  text-align: center;
  .rule-agree{
    display: flex;
    font-size: $font-12;
    color: $font-color-grey;
    padding-left: 20px;
    span{
      color: $color-main
    }
  }
  .forbid-modal-btn{
    margin: 20px auto;
  }
}

.add-service-text{
  text-align: right;
  font-size: $font-15;
  color: $font-color-grey;
}

.time-btns{
  width: 100%;
  margin: 10px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.row-disable{
  color: $font-color-grey;
}